package com.shiliang.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.shiliang.common.annotation.Excel;
import com.shiliang.common.core.domain.BaseEntity;

/**
 * 数据页对象 home
 * 
 * @author shiliang
 * @date 2025-07-01
 */
public class Data extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private Long id;

    /** 位置ID */
    @Excel(name = "位置ID")
    private Long positionId;

    /** 标签 */
    @Excel(name = "标签")
    private String tag;

    /** 数据 */
    @Excel(name = "数据")
    private String data;

    /** 简介 */
    @Excel(name = "简介")
    private String description;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPositionId(Long positionId) 
    {
        this.positionId = positionId;
    }

    public Long getPositionId() 
    {
        return positionId;
    }

    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }

    public void setData(String data) 
    {
        this.data = data;
    }

    public String getData() 
    {
        return data;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("positionId", getPositionId())
            .append("tag", getTag())
            .append("data", getData())
            .append("description", getDescription())
            .toString();
    }
}
